package com.sanjiahantang.youjiaclient.module.me.order.views;


import com.sanjiahantang.youjiaclient.base.BaseView;

/**
 * Created by sks on 2015/9/29.
 */
public interface OrderView extends BaseView {


    /**
     * 创建订单
     */
    int TYPE_CREATE = 0x115;
    /**
     * 确认订单
     */
    int TYPE_ENSURE = 0x116;
    /**
     * 查看订单
     */
    int TYPE_REVIEW = 0x117;
    /**
     * 全部订单
     */
    int TYPE_ALL = 50;
    /**
     * 未付款
     */
    int TYPE_UN_PAY = 10;
    /**
     * 部分付款
     */
    int TYPE_PART_PAY = 20;
    /**
     * 已付款
     */
    int TYPE_PAYED = 30;
    /**
     * 已完成
     */
    int TYPE_COMPLETE = 40;
    /**
     * 订单关闭
     */
    int TYPE_CLOSE = 50;
    /**
     * 已评价
     */
    int TYPE_EVALUATED = 60;



    int ACTIVITY_ORDER_LIST = 0x0a;
    int ACTIVITY_ORDER_CREATE = 0x0b;
    int ACTIVITY_ORDER_LOOK = 0x0c;
    int ACTIVITY_ORDER_PAY = 0x0d;

    /**
     * 添加地址
     */
    int INTENT_ADDRESS = 0x0e;
    /**
     * 发票
     */
    int INTENT_INVOICE = 0x0f;
    /**
     * 评论
     */
    int INTENT_EVALUATE = 0x0d;

    /**
     * 支付密码
     */
    int INTENT_PASSWORD = 0xF1;

    interface OnLoadListener{
        void setGoodsNumber(int count, float price);
    }
}
